import { Status } from "../components/BigBall";


export interface Converter {
    status: Status,
    lable: string,
    button: string
}



export function getIdenti(index: number): Converter {
    const statusDict: Converter[] = [

        // 0
        {
            status: Status.Occupied,
            lable: "Occupied",
            button: "Refresh"
        },

        // 1
        {
            status: Status.Running,
            lable: "Running",
            button: "Stop"
        },

        // 2
        {
            status: Status.Vacant,
            lable: "Vacant",
            button: "Launch"
        },
    ];

    return statusDict[index];

}